Page({
  /**
   * 页面的初始数据
   */
  data: {
    Identity: '2',
    ipx: wx.getStorageSync('ipx'),
    iconindex: 0,
    hidden: false,
    bossList: [{
      path: '/pages/taber/bossindex',
      name: '首页',
      url: '/img/tabericon11.png',
      url1: '/img/tabericon21.png',
      width: '50rpx;'
    }, {
      path: '/pages/taber/bossdata',
      name: '数据查询',
      url: '/img/tabericon12.png',
      url1: '/img/tabericon22.png',
      width: '56rpx;'
    }, {
      path: '/pages/taber/bossmine',
      name: '我的',
      url: '/img/tabericon13.png',
      url1: '/img/tabericon23.png',
      width: '50rpx;'
    }]
  },
  onShow(){
  },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    let Identity = wx.getStorageSync('Identity');
    this.setData({
      Identity: Identity
    })
  },
  icon(e) {
    const index = e.currentTarget.dataset.index
    wx.setNavigationBarTitle({
      title: e.currentTarget.dataset.name
    })
    this.setData({
      iconindex: index
    })
  },
  twoLevelCommentBtnClick1(e) {
    this.setData({
      hidden: e.detail
    })
  }
})